package com.hjk.location_upload_flutter_example;

import io.flutter.app.FlutterApplication;


/**
 * @Description:
 * @Author: weilu
 * @Time: 2019/8/5 0005 17:08.
 */
public class MyApplication extends FlutterApplication {

    @Override
    public void onCreate() {
        super.onCreate();
//        LocationUploadFlutter.init(this);
//        RammusPlugin.initPushService(this);
//        PushServiceFactory.init(this);
//        PushServiceFactory.getCloudPushService().register(this, new CommonCallback() {
//            @Override
//            public void onSuccess(String response) {
//                Log.d("TAG", "init cloudchannel success");
//            }
//
//            @Override
//            public void onFailed(String errorCode, String errorMessage) {
//                Log.d("TAG", "init cloudchannel failed -- errorcode:" + errorCode + " -- errorMessage:" + errorMessage);
//            }
//        });
//        //一定要添加这一句代码
//        PushServiceFactory.getCloudPushService().setPushIntentService(RammusPushIntentService.class);
    }
}
